<h1>{{title}}</h1>
<div class="tabs">
	<ul>
		<li *ngFor="let tab of tabs; let i=index">
		  <a [class.active]="tab.active" (click)="selected(tabs,i)">{{tab.heading}}</a>
		</li>
	</ul>
</div>
<div class="tboxs">
	<div class="tbox" [myTab]>tbox1</div>
	<div class="tbox" >tbox2</div>
	<div class="tbox" >tbox3</div>
</div>
